Bottom     Previous     Contents

Exercise ten
Mail merge

This section describes EasiWriter's merge facility.

Merging is the ability to produce several similar documents by combining variable information from a Data file with a Template into several Merged documents.

Data file

A Data file contains the information (often names and addresses) that will vary from one document to the next.


"Total: £","Date due:","Firstname:","Surname:","Address:","","","","Salutation:","Sign off:"
125.00,"31/3/92","David","Rushden","16 Aintree Road","Bury St Edmunds","Suffolk",
"IP23 4DX","Mr Rushden","Yours sincerely"
125.00,"31/3/92","John","Chapell","23 Union Lane","Southampton","Hampshire","PO12 R45","Chairman","Your obedient servant"
105.00,"31/3/92","Julian","Richardson","The Willows","Little Sheperdston","Braintree",
"Essex CM21 2AT","Julian","Kind regards"


Template document

The Template document contains the fixed information, that is common to all documents, and the position and names of the variables that will be inserted from the Data file.


«Firstname» «Surname»

«Address»

«Field6»

«Field7»

«Field8»

Wednesday, May 20th, 1992

Dear «Salutation»

Overdue fees

I am writing to you to ask you if you would please pay your subscription which became due on the «Date due»

At the time of writing your account stands at £ «Total due»

I look forward to receiving your remittance by return post.

«Sign off»

Membership Secretary


Merge documents

The Merge documents are created by combining the Variables from the Data file with the Template document.


Next     Top